using System;
using Order.Domain.Enum;

namespace Order.Api.Read.Dto.Order
{
    /// <summary>
    /// 处方订单分页DTO
    /// </summary>
    public class PrescriptionOrderPageDto
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNo { get; set; }

        /// <summary>
        /// 处方编号
        /// </summary>
        public string? PrescriptionNo { get; set; }

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PatientName { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public DeptEnum? Department { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        public string? DepartmentName { get; set; }

        /// <summary>
        /// 医生
        /// </summary>
        public string? Doctor { get; set; }

        /// <summary>
        /// 费用
        /// </summary>
        public decimal? Cost { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public PrescriptionOrderStatusEnum? OrderStatus { get; set; }

        /// <summary>
        /// 订单状态名称
        /// </summary>
        public string? OrderStatusName { get; set; }

        /// <summary>
        /// 处方状态
        /// </summary>
        public PrescriptionStatusEnum? PrescriptionStatus { get; set; }

        /// <summary>
        /// 处方状态名称
        /// </summary>
        public string? PrescriptionStatusName { get; set; }

        /// <summary>
        /// 购药方式
        /// </summary>
        public MedicationPurchaseMethodEnum? PurchaseMethod { get; set; }

        /// <summary>
        /// 购药方式名称
        /// </summary>
        public string? PurchaseMethodName { get; set; }

        /// <summary>
        /// 发药状态
        /// </summary>
        public MedicationDispensingStatusEnum? DispensingStatus { get; set; }

        /// <summary>
        /// 发药状态名称
        /// </summary>
        public string? DispensingStatusName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}